package com.csnf.entity;

import java.time.LocalDate;

public class course {
    private Integer id;
    private String name;
    private Integer count;
    private LocalDate startDate;
    private LocalDate endDate;
    private String teacher;

    public course() {
    }

    public course(Integer id, String name, Integer count, LocalDate startDate, LocalDate endDate, String teacher) {
        this.id = id;
        this.name = name;
        this.count = count;
        this.startDate = startDate;
        this.endDate = endDate;
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "course{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", count=" + count +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", teacher='" + teacher + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }
}
